/**
 * 批量核销方式
 * 0 - 交易总额明细
 * 1 - 核销总额明细
 * 2 - 可核销流水明细
 * 3 - 待核销金额明细
 * 4 - 第三方代付核销明细
 * 5 - 个人核销公司明细
 * 6 - 到账分布月份明细
 * 7 - 欠款分布月份明细
 */
export const RETURN_TYPE = {
  TRADE_AMOUNT: 0,
  WRITE_OFF_AMOUNT: 1,
  WRITE_OFF_FLOW: 2,
  PENDING: 3,
  THIRD_PARTY: 4,
  PERSONAL: 5,
  ARRIVAL: 6,
  OVERDRAFT: 7
};

/**
 * 批量核销方式
 * 0 - 数据来源自渠道单数据
 * 1 - 数据来源财务流水数据
 * 2 - 数据来源核销记录数据
 */
export const REPORTS_MODEL = {
  CHANNEL: 0,
  FINANCE: 1,
  CHARGE_REPORT: 2
};

/**
 * 导出api
 * 按订单类型导出（渠道单导出）：/admin/order/export
 * 按销售类型导出：/admin/return/detail/sale/list/export
 * 核销记录导出：/admin/chargeReport/export
 * 流水明细导出：/admin/financialFlow/export
 */
export const EXPORT_API = {
  ORDER: '/admin/order/export',
  SALE: '/admin/return/detail/sale/list/export',
  CHARGE_REPORT: '/admin/chargeReport/export',
  FINANCE: '/admin/financialFlow/export'
};

